import http from './http'

// const perfix = '/api'        // api接口前缀
const perfix = "/api/member";

// 注册
export function register(params) {
    return http.post(`${perfix}/v1/member/register`, params).then(res => res.data)
}
// 验证码
export function code(params) {
    return http.post(`${perfix}/v1/member/send/message/register`, params).then(res => res.data)
}
